import request from '@/router/axios'
const path = '/ykdjmjkdnjls'
export function delObj (id) {
  return request({
    url: `${path}/${id}`,
    method: 'delete'
  })
}
export function addObj (obj) {
  return request({
    url: `${path}`,
    method: 'post',
    data: obj
  })
}
export function updateObj (obj) {
  return request({
    url: `${path}`,
    method: 'put',
    data: obj
  })
}
export function getObj (id) {
  return request({
    url: `${path}/${id}`,
    method: 'get',
  })
}
